package com.example.mapper;

import com.example.pojo.Resource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ResourceMapper {
@Select("select * from resource")
    List<Resource> getAll();
    @Select("select * from resource_copy1")
    List<Resource> getAlls();
    @Select("select * from resource_copy2")
    List<Resource> getAllss();
}
